﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Data;

namespace QL_LichCT.Entities
{
    class GIANGVIEN
    {
        private string _macb;

        public string macb
        {
            get { return _macb; }
            set { _macb = value; }
        }

        private string _tencb;

        public string tencb
        {
            get { return _tencb; }
            set { _tencb = value; }
        }

        private string _sdt;

        public string sdt
        {
            get { return _sdt; }
            set { _sdt = value; }
        }

        private string _password;

        public string password
        {
            get { return _password; }
            set { _password = value; }
        }

        private string _macv;

        public string macv
        {
            get { return _macv; }
            set { _macv = value; }
        }

        private string _mabm;

        public string mabm
        {
            get { return _mabm; }
            set { _mabm = value; }
        }

        public GIANGVIEN()
        {
        }

        public GIANGVIEN(DataRow row)
        {
            this._macb = row["macb"].ToString();
            this._tencb = row["tencb"].ToString();
            this._sdt = row["sdt"].ToString();
            this._password = row["password"].ToString();
            this._macv = row["macv"].ToString();
            this._mabm = row["mabm"].ToString();
        }


        public GIANGVIEN(string macb, string tencb, string sdt, string password, string macv, string mabm)
        {
            this._macb = macb;
            this._tencb = tencb;
            this._sdt = sdt;
            this._password = password;
            this._macv = macv;
            this._mabm = mabm;
        }

    }
}
